<!--Người tạo : Nguyễn Nghĩa Hưng - Team 3
//Module 	: Login
//Chức năng	: forgot password-->

<script type="text/javascript" src="/js/login.js" language="javascript" ></script>
<?php 
if(isset($_SESSION['config_template']))
{
	if($_SESSION['config_template']=='layoutmain_web1')
	{
		?>
		<div class="my-account">
					<!-- start content -->
						<div class="page-title">
							<h1><?php echo $this->text_title_mail;?></h1>
						</div>
						<form id="loginForm" name="loginForm" method="post" action="/register/email" onsubmit="return validateLogInForm()">
							<div class="fieldset">
								<h2 class="legend"><?php echo $this->text_title_mail;?></h2>
								<ul class="form-list">
									<li>
										<label for="email_address" class="required"><em>*</em><?php echo $this->text_username;?>:</label>
										<div class="input-box">
											<input type="text" id="userID" name="userID" style=" width:200px;" class="input-text" />
										</div>
										<div style="clear:both;font-size:13px;margin-left:20px;color:red;"><?php echo $this->ForgotPWMessage;?></div>
									</li>
								</ul>
							</div>
							<div class="buttons-set">
								<button type="submit" title="Submit" class="button"><span><span><?php echo $this->text_send;?></span></span></button>
							</div>
						</form>
					
					</div>
		<?php 
	}
	else 
	{
		if($_SESSION['config_template']=='layoutmain_web2')
		{?>
			<!-- start center -->
					<div id="main" class="col-main">
						<div class="my-account">
							<!-- start content -->
								<div class="page-title">
									<h1><?php echo $this->text_title_mail;?></h1>
								</div>
								<form id="loginForm" name="loginForm" method="post" action="/register/email" onsubmit="return validateLogInForm()">
									<div class="fieldset" style="height:auto !important;">
										<h2 class="legend"><?php echo $this->text_title_mail;?></h2>
										<ul class="form-list">
											<li>
												<label for="email_address" class="required"><em>*</em><?php echo $this->text_username;?>:</label>
												<div class="input-box">
													<input type="text" id="userID" name="userID" style=" width:200px;" class="input-text" />
												</div>
												<div style="clear:both;font-size:13px;margin-left:20px;color:red;"><?php echo $this->ForgotPWMessage;?></div>
											</li>
										</ul>
									</div>
									<div class="buttons-set">
										<button type="submit" title="Submit" class="button"><span><span><?php echo $this->text_send;?></span></span></button>
									</div>
								</form>
							<!-- end content -->
						</div>
					</div>
					<!-- end center -->
			
			
		<?php }
		else 
		{?>
				<p><?php echo $this->text_title_mail;?></p>
				
				<div class="line"><hr></div>
				<div>
				<form id="loginForm" name="loginForm" method="post" action="/register/email" onsubmit="return validateLogInForm()">
						<div style="font-size:13px;width:100%;">
							<div style="text-align:right;width:120px;;float:left;"><?php echo $this->text_username;?> : </div>
							<div style="float:left;margin-left:5px;margin-right:5px;margin-top: -5px;">
							<input type="text" id="userID" name="userID" style=" width:125px;" />
							<input type="submit" name="btnEmail" value="<?php echo $this->text_send;?>" style="background-image: url(/images/btn_short.png); border: medium none; color: white; height: 30px;  width: 60px;cursor: pointer;" />
							</div>
						</div>
						
					</form>
					<br />
					<div style="clear:both;font-size:13px;margin-left:125px;color:red;"><?php echo $this->ForgotPWMessage;?></div>
				</div>					
						
					
				<div style="clear: both;"></div>
<?php }
	}
}?>